<div ng-if="!pagedata.goods" class='content-empty'>
    <i class='icon jinyunicon icon-search'></i><br/> 宝贝找不到了~ 您看看别的吧 ~<br/><a href="javascript:;" ng-click="access_json('jy_weishop/goods.index/')" class='btn btn-default-o external'>到处逛逛</a>
</div>
<i ng-if="pagedata.goods.qrcodeshare > 0" class="icon icon-qrcode" id="alert-click"></i>
<!--轮播图-->
<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="false" style="position: relative;padding-top:2rem">
	<div class="carousel-inner" role="listbox" style="max-height:20rem">
		<div ng-class="{'item':1,'active':$index==0}" ng-repeat="item in pagedata.goods.images track by $index">
			<video ng-if="pagedata.goods.video && pagedata.isvideo==1 && $index==0" style="width:100%;max-height:20rem;display: block;" ng-src="{{tomedia(pagedata.goods.video)}}" poster="{{tomedia(pagedata.goods.image)}}" x5-playsinline="" playsinline="" webkit-playsinline="" preload="auto" controls autoplay controlslist="nofullscreen nodownload noremoteplayback" loop="loop">
			</video>
			<a ng-if="!pagedata.goods.video || !pagedata.isvideo==1 || $index!=0" href="javascript:;" ng-click="previewImage(item,pagedata.goods.images);">
				<img ng-src="{{tomedia(item) || '../core/resource/images/nopic.jpg'}}" style="display: block; width: 100%; height: 100%;">
			</a>
		</div>
	</div>
	<style>
            .fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
            .fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
    </style>
	<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
		<div class="fui-swipe-bullet" ng-repeat="item in pagedata.goods.images track by $index" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
	</div>
	
	<i ng-if="pagedata.shopset.fenxiao_app && pagedata.shopset.fenxiao_app!=0" ng-click="access_json(pagedata.shopset.fenxiao_app+'/qrcode//goodsid='+pagedata.goods.id)" class="icon icon-qrcode" id="alert-click"></i>
	<!--商品活动，此处加载商品活动展示页-->
	<div ng-if="pagedata.item.active_url" ng-include="pagedata.item.active_url"></div>
</div>